/**
 * 
 */
package com.appspot.myjsf2.data;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 * @author andyz
 *
 */
public class MyEMFactory {
	/*
    private static final EntityManagerFactory originalInstance =
        Persistence.createEntityManagerFactory("transactions-optional");
	*/
    private static final EntityManagerFactory testInstance =
        Persistence.createEntityManagerFactory("test-unit");

    private MyEMFactory() {}

    public static EntityManagerFactory getTestInstance() {
        return testInstance;
    }

}
